 {
        
     cc.Class({
            extends: cc.Component,
            properties: {
                spHead: {
                    default: null,
                    type: cc.Sprite
                },
                headW: 0,
                headH: 0
            },
            onLoad: function () {
            },
            start: function () {
            },
            bindData: function (e) {
                var t = this;
                cc.loader.load({
                    url: e,
                    type: "png"
                }, function (e, n) {
                    try {
                        t.spHead.spriteFrame = new cc.SpriteFrame(n), t.spHead.node.width = t.headW, t.spHead.node.height = t.headH;
                    } catch (e) {
                        cc.error("HeadController", "bindData Error = " + e);
                    }
                });
            },
            deleteData: function () {
                Global.spriteAtlas.setSpriteFrame(this.spHead, "Texture/common", "AC_headbase");
            }
        })
    }